export interface IPost {
  id: number
  user_id: number
  content: string
  image_url: string
  status: string
  created_at: string
  updated_at: string
  title: string
  name: string
  avatar_url: string
  bio: string
  nickname: string
  email: string
  contact_info: string
  likeCount: number
  collectionCount: number
}

export interface IComment {
  id: number
  post_id: number
  parent_id: any
  user_id: number
  content: string
  created_at: string
  name: string
  avatar_url: string
  children: IComment[]
}

export interface IPostState {
  postsList: IPost[]
  postsTotalCount: number
  comment: IComment[]
  postId: number
}
